package com.tudouji.project.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 套装定义对象 suitpack
 *
 * @author tudouji
 * @date 2022-06-27
 */
@Data
public class Suitpack extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String guid;

    /**
     * 套装定义id
     */
    @Excel(name = "套装定义id")
    private String suitspid;

    /**
     * 单品id
     */
    @Excel(name = "单品id")
    private String childspid;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Integer amount;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 操作人id
     */
    @Excel(name = "操作人id")
    private String operatorid;

    /**
     * 操作人
     */
    @Excel(name = "操作人")
    private String operator;

    private String suitpack;
    private String product;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;

    private String suitSpid;

    private String productid;

    private String spename;

    private BigDecimal weight;

    private BigDecimal packweight;

    private String unit;

    /*** 产品名称*/
    private String productName;


}
